<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="UserTable">
    <div class="layui-card-body padding-left-40">

        <fieldset class="layui-bg-gray">
            <legend><b class="layui-badge think-bg-violet">活动名称</b></legend>

            <div class="layui-row layui-col-space15">
               
                <div class="layui-col-xs5">
                    <label class="block relative">
                        <span class="help-label"><b>活动名称</b></span>
                        {if isset($vo) and isset($vo.actname)}
                        <input name="actname" value='{$vo.actname|default=""}' required  class="layui-input think-bg-gray">
                        {else}
                        <input name="actname" value='{$vo.actname|default=""}' required  vali-name="活动名称" placeholder="请输入活动名称" class="layui-input">
                        {/if}
                        <span class="help-block"></span>
                    </label>
                </div>
            </div>
        </fieldset>

        <fieldset class="layui-bg-gray">
            <div class="layui-row layui-col-space15">
                
                <div class="layui-col-xs6">
                    <label class="relative block">
                        <span class="help-label"><b>活动类型</b></span>
                        <div>
                          <select name="status" id="status">                           
                              <option value="1" {if isset($vo.acttype) and $vo.acttype == 1}selected='selected'{/if}>满减</option>
                          </select>
                        </div>
                    </label>
                </div>
            </div>
            <div class="layui-row layui-col-space15">
                <div class="layui-col-xs6">
                    <label class="relative block">
                        <span class="help-label"><b>满金额</b></span>
                        <input type="tel" maxlength="11" name="actcount" value='{$vo.actcount|default=""}' required vali-name="金额" placeholder="请输入金额" class="layui-input">
                        <span class="color-desc">必填</span>
                    </label>
                </div>
                <div class="layui-col-xs6">
                    <label class="relative block">
                        <span class="help-label"><b>减金额</b></span>
                        <input type="tel" maxlength="11" name="actdiscount" value='{$vo.actdiscount|default=""}' required  vali-name="" placeholder="请输入" class="layui-input">
                        <span class="color-desc">必填</span>
                    </label>
                </div>
            </div>
            <label class="layui-form-item block relative margin-top-10">
                <span class="help-label"><b>活动简介</b></span>
                <textarea placeholder="请输入用户描述" class="layui-textarea" name="actdesc">{$vo.actdesc|default=""}</textarea>
            </label>
        </fieldset>

    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>